﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>登录信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> 
<link rel="stylesheet" type="text/css" href="/static/style.css">
<link rel="stylesheet" type="text/css" href="/static/pheader.css">
</head>
<script src="/static/js/tongda/js/utility.js"></script>
<script src="/static/js/tongda/mytable.js"></script>
<script Language="JavaScript">
var on_status=1;
function set_status(status)
{
	//on_status++;
	if(status>3)
	   status=1;
	on_status=status;

	var obj=$("on_status_desc");
	obj.innerHTML=$("on_status_"+on_status).innerHTML;
	obj.className="on_status_"+on_status;
	update_status();
}
function show_status(a)
{
   var pos=fetchOffset(a);
   $("on_status_ul").style.display='block';
   $("on_status_ul").style.width=a.offsetWidth+5;
   $("on_status_ul").style.left=pos['left']-5;
   $("on_status_ul").style.top=pos['top']+a.offsetHeight;
}
function hide_status()
{
   $("on_status_ul").style.display='none';
}
function update_status()
{
	var xmlHttpObj=getXMLHttpObj();
	xmlHttpObj.open("GET","pheader.php?ON_STATUS_SET="+on_status,true);
	xmlHttpObj.send(null)
}

var interval=null,key="";
var KWORD;
function CheckSend()
{
	KWORD=$("kword");
	if(KWORD.value=="搜索...")
	   KWORD.value="";
  if(KWORD.value=="" && $('search_icon').src.indexOf("/static/images/quicksearch.gif")==-1)
	{
	   $('search_icon').src="/static/images/quicksearch.gif";
	}
	if(key!=KWORD.value && KWORD.value!="")
	{
     key=KWORD.value;
	   parent.view_menu(4);
	   parent.ilook.ilook(KWORD.value);
	   if($('search_icon').src.indexOf("/static/images/quicksearch.gif")>=0)
	   {
	   	   $('search_icon').src="/static/images/closesearch.gif";
	   	   $('search_icon').title="清除关键字";
	   	   $('search_icon').onclick=function(){KWORD.value='搜索...';$('search_icon').src="/static/images/quicksearch.gif";$('search_icon').title="";$('search_icon').onclick=null;};
	   }
  }
}
</script>

<body onload="parent.init_menu()">


<div id="on_status" class="small">
<span>欢迎您</span>

</div>
<div id="tabs">
  <div id="search">
  <!--form style="margin:0" name="myform" method="post"-->
  <input type="text" id="kword" name="kword" value="搜索..." onfocus="interval=setInterval(CheckSend,100);" onblur="clearInterval(interval);if(KWORD.value=='')KWORD.value='搜索...';" class="SmallInput" /><img id="search_icon" src="/static/images/quicksearch.gif" align=absmiddle style="cursor:pointer;" />
  </form>
  </div>

  <ul id="nav_menu">
    <li><a id="menu_1" href="javascript:parent.view_menu(1);" title="导航菜单" class="active"><span>导航</span></a></li>
    <!--li><a id="menu_2" href="javascript:parent.view_menu(2);" title="组织机构及人员"><span>组织</span></a></li>
    <li><a id="menu_3" href="javascript:parent.view_menu(3);" title="消息"><span>消息</span></a></li>
    <li><a id="menu_4" href="javascript:parent.view_menu(4);" title="搜索"><span>搜索</span></a></li-->
  </ul>
</div>

</body>
</html>
